package com.leadingsoft.pwxk.model;

import java.util.List;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.OneToMany;

import com.alibaba.fastjson.annotation.JSONField;

import lombok.Data;

/**
 * 
 * @author ysh
 * @desc 审批信息-自行监测要求
 */
@Entity
@Data
public class AuditSelfMonitor extends Basic {
	private static final long serialVersionUID = 1L;
	// 补充1.废气污染源list集合2.其他废气污染源list集合3.废水污染源list集合 其他废水污染源list集合
//	@JSONField(name = "dataid")
//	private String dataId;
	
	@Lob
	@Column(length=2048576)
	private String quality;// 监测质量保证与质量控制要求
	@Lob
	@Column(length=1048576)
	private String datarecord;// 监测数据记录、整理、存档要求

	/**
	 * 废气污染源list集合
	 */
	@OneToMany(cascade = CascadeType.ALL)
	@JSONField(name = "fqwrwlist")
	private List<ManaSelfInfo> fqwrwlist;
	/**
	 * 其他废气污染源list集合
	 */
	@OneToMany(cascade = CascadeType.ALL)
	@JSONField(name = "fqwrwotherlist")
	private List<ManaSelfInfo> fqwrwotherlist;
	/**
	 * 废水污染源list集合
	 */
	@OneToMany(cascade = CascadeType.ALL)
	@JSONField(name = "fswrwlist")
	private List<ManaSelfInfo> fswrwlist;
	/**
	 * 其他废水污染源list集合
	 */
	@OneToMany(cascade = CascadeType.ALL)
	@JSONField(name = "fswrwotherlist")
	private List<ManaSelfInfo> fswrwotherlist;

}
